package com.huan.service;

import com.huan.anno.Bean;
import com.huan.anno.Di;
import com.huan.dao.UserDao;

@Bean
public class UserServiceImpl implements UserService{
    @Di
    private UserDao userDao;

    @Override
    public void add() {
        System.out.println("service....");
        userDao.add();
    }
}
